package com.ruoyi.littleRedBook.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.littleRedBook.domain.pojo.Favorite;

import java.util.List;

public interface FavoriteService extends IService<Favorite> {
    AjaxResult addFavorite(Long productId);

    AjaxResult removeFavorite(Long productId);

    AjaxResult getMyFavoriteList(Integer pageNum, Integer pageSize);

    AjaxResult checkFavorite(Long productId);
}
